package edu.nf.exam.util;

import java.util.UUID;

/**
 * 用于随机生成图片名称的工具类
 * @Author : LLH
 * @create 2021/6/27
 */
public class UUIDUtil {
    public static String createUUID(){
        return UUID.randomUUID().toString().replace("-","");
    }

    public static void main(String[] args) {
        System.out.println(UUIDUtil.createUUID());
        System.out.println(UUID.randomUUID().toString());
    }
}
